<include file="Tpl/Public/admin_top.html">
<form name="form" action="__APP__/admin{url}dosearchset{shtml}" method="post">
	<table width=98% height="auto" cellspacing=0 cellpadding=0 border=1 style="margin:auto;border:1px solid #ccc">
		<tr onmouseover="addClass(this)" onmouseout="removeClass(this)">
			<td height="40" colspan="2" style="line-height:40px;background:url('{site}/Public/images/topbg.jpg')"><span style="font-size:16px;text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.6);color:#333;font-weight:bold;">搜索设置</span></td>
		</tr>
		<tr onmouseover="addClass(this)" onmouseout="removeClass(this)">
			<td height="30" width="100" style="line-height:30px;font-size:15px;color:#222;">允许未登录用户搜索?</td>
			<td height="30"><input type="checkbox"  name="search_allow" onchange="if(this.checked){this.value=1;}else{this.value=0;}" <?php if("{search->search_allow}"==true) echo "checked"; ?> <?php if("{search->search_allow}"==true){ ?> value="1" <?php }else{ ?> value="0" <?php } ?>></td>
		</tr>
		<tr onmouseover="addClass(this)" onmouseout="removeClass(this)">
			<td height="30" width="100" style="line-height:30px;font-size:15px;color:#222;">搜索时间限制</td>
			<td height="30"><input type="text" name="search_time" style="width:60%" value="{search->search_time}"></td>
		</tr>
		<tr onmouseover="addClass(this)" onmouseout="removeClass(this)">
			<td height="30" width="100" style="line-height:30px;font-size:15px;color:#222;">最大搜索结果</td>
			<td height="30"><input type="text" name="search_results" style="width:60%" value="{search->search_results}"></td>
		</tr>
   	<tr>
   		<input type="hidden" name="token" value="{token}">
		<td height="40" colspan="2" align="left"><input name="submit" type="submit" value="提交" class="button" /></td>
	</tr>
 </table>
</form>
<include file="Tpl/Public/admin_bottom.html">